package day0628.game;

import javax.swing.*;

//水雷 //mine:水雷
public class Mine {
    int x;
    int y;

    ImageIcon img=null;

    public void setImg(){
        img=new ImageIcon("img/mine.png");
    }

    public void move(){
        y=y-3;//3水雷的上移速度
    }
}
